var pathArr = [];
var pouteParth = 'require/'; //基本路劲
var pathCount = ['index','test','tming','input','music','goto'];
for (var i = 0; i < pathCount.length; i++)
{
    pathArr.push(pouteParth+pathCount[i]);
}
require(pathArr,function (index,test,tming,input,music,goto)
    {
        var routes = [];
        Vue.http.options.emulateJSON = true;
        routes.push(index,test,tming,input,music,goto);
        var router = new VueRouter({
            routes: routes
        });
        console.log(routes);
        router.beforeEach(function(to,from,next) {
            next();
        });
        router.afterEach(function(transition) {
        });
        var app = new Vue({
            router: router
        }).$mount('#app');
    }
);
